﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework.GamerServices;

namespace Aphysoft.Vate
{
    public partial class Vate
    {
        #region Properties
        /// <summary>
        /// The gamer services component.
        /// </summary>
        private static GamerServicesComponent gamerServicesComponent = null;
        /// <summary>
        /// The gamer services component.
        /// </summary>
        public static GamerServicesComponent GamerServicesComponent
        {
            get { return gamerServicesComponent; }
        }
        #endregion

        #region Methods
        /// <summary>
        /// GamerServices setup.
        /// </summary>
        private void GamerServicesSetup()
        {
            gamerServicesComponent = new GamerServicesComponent(this);

            Components.Add(gamerServicesComponent);

#if DEBUG
            Debug.Write("GamerServicesComponent Initialized.");
#endif
        }
        #endregion
    }
}
